package com.interview.ujiuye3;

/**
 * Copyright (C), 2018-2020
 * FileName: Demo1
 * Author:   kongfanyu
 * Date:     2020/10/13 14:05
 */
public class Demo1 {

    public static void main(String[] args) {
        String text = "Welcome to VS.";
        System.out.println(text.length());
        System.out.println(text.indexOf("\\s"));
        System.out.println((text + "").intern() == text);
        int  x = 10;
        x += x-=x-x;
        System.out.println( x);

    }
}
